package com.mall.common.utils;

public enum BizCodeEnum {

    HTTP_MSG_NOT_READABLE(10002,"参数类型错误，无法转换成实体参数类型"),
    VILID_EXCEPTION(10001,"参数验证失败"),

    UNKNOW_EXCEPTION(10000,"未知异常");

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private int code;
    private String msg;

    private BizCodeEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }



}
